package com.earl.eatbao.domain.sercurity;

import java.io.Serializable;

import javax.persistence.Entity;

import com.earl.eatbao.commons.domain.AbstractAuditingEntity;

@Entity
public class RolePrivilege extends AbstractAuditingEntity<Long> implements Serializable {
	
    private Long roleId;

    private Long privilegeId;

    private static final long serialVersionUID = 1L;

	public Long getRoleId() {
		return roleId;
	}

	public void setRoleId(Long roleId) {
		this.roleId = roleId;
	}

	public Long getPrivilegeId() {
		return privilegeId;
	}

	public void setPrivilegeId(Long privilegeId) {
		this.privilegeId = privilegeId;
	}

	@Override
	public String toString() {
		return "RolePrivilege [roleId=" + roleId + ", privilegeId=" + privilegeId + "]";
	}
}